﻿using SqlSugar;
using Swashbuckle.AspNetCore.Annotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VM.Entity.EntityMap.Token
{
    ///<summary>
    ///
    ///</summary>
    [SwaggerSchema("token实体")]
    public class VM_S_Token
    {
        public VM_S_Token()
        { }
        #region Model
        private int _id;
        private int? _userid;
        private int? _clientid;
        private string _token;
        private DateTime? _createdate;
        private DateTime? _updatedate;
        private decimal? _longtimes;
        private string _key;
        private string _des;
        private string _guid;
        private int? _isuse = 0;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsIgnore = true)]
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 用户内码
        /// </summary>
        public int? UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 终端 0 APP 1小程序 2 微信公众号 3网页
        /// </summary>
        public int? ClientId
        {
            set { _clientid = value; }
            get { return _clientid; }
        }
        /// <summary>
        /// KOEKN
        /// </summary>
        public string Token
        {
            set { _token = value; }
            get { return _token; }
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 最后更新日期
        /// </summary>
        public DateTime? UpdateDate
        {
            set { _updatedate = value; }
            get { return _updatedate; }
        }
        /// <summary>
        /// 保留时长
        /// </summary>
        public decimal? LongTimes
        {
            set { _longtimes = value; }
            get { return _longtimes; }
        }
        /// <summary>
        /// 流动密钥
        /// </summary>
        public string Key
        {
            set { _key = value; }
            get { return _key; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Des
        {
            set { _des = value; }
            get { return _des; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string GUID
        {
            set { _guid = value; }
            get { return _guid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsUse
        {
            set { _isuse = value; }
            get { return _isuse; }
        }
        #endregion Model

    }
}
